import { ConfigProvider, Layout } from 'antd';
import { Outlet } from 'react-router-dom';
import { blue } from '@ant-design/colors';

const { Content } = Layout;

export default function MyLayout() {
  return (
    <ConfigProvider
      theme={{
        token: {
          colorPrimary: blue.primary,
        },
      }}>
      <Content>
        <Outlet />
      </Content>
    </ConfigProvider>
  );
}